package com.yanqu.road.entity.task.args.union;

import java.math.BigInteger;

public class  UnionActivityBaseArgs {
    public static final int VALUE_INIT = 0;          //初始化数据
    public static final int VALUE_IN = 1;          //新增数据逻辑
    public static final int VALUE_OUT = 2;            //移除数据逻辑

    private int type;              //0：正常更新值； 1：加入商会值； 2：移除商会值
    private int addValue;
    private String unionUid;

    public UnionActivityBaseArgs(int type, int addValue, String unionUid) {
        this.type = type;
        this.addValue = addValue;
        this.unionUid = unionUid;
    }

    public int getType() {
        return type;
    }

    public int getAddValue() {
        return addValue;
    }

    public String getUnionUid() {
        return unionUid;
    }

    //新增数据
    public String addInfo(String info){
        return info;
    }
    //移除数据
    public String removeInfo(String info){
        return info;
    }
    //返回最终处理的数据值设置到condition
    public BigInteger getFinalValue(String info){
        return BigInteger.ZERO;
    }
}
